<?php

namespace App;

class Promotion extends Base
{

    public function underwayFlashSale ()
    {
        return $this->hasOne('App\FlashSale')->ofUnderway();
    }

    public function underwayTeamActivity ()
    {
        return $this->hasOne('App\TeamActivity')->ofActive();
    }
}